package com.huawei.appgallery.packagemanager.impl.install.control;

import android.content.Context;
import android.content.pm.IPackageInstallObserver.Stub;
import android.os.RemoteException;
import com.huawei.appgallery.packagemanager.api.bean.ManagerTask;
import o.cpl;

public class PackageInstallObserver extends Stub {
    private Context mContext;
    private ManagerTask task;

    public PackageInstallObserver(Context context, ManagerTask managerTask) {
        this.mContext = context;
        this.task = managerTask;
    }

    public void packageInstalled(String str, int i) throws RemoteException {
        new cpl(this.mContext, this.task).ॱ(str, i);
    }
}
